package com.gaohe.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * @Classname UserClass
 * @Description
 * @Date 2024/5/6 18:50
 * @Created by 高合吴彦祖鹏哥
 */
@Data
@TableName("user_class")
public class UserClasses implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long userId;
    private Long classId;
    private String userName;
    private String className;
    private Integer status;
    private String tags;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private Integer isDeleted;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private Classes classes;
}
